package com.example.lizh.mvp_example.retrofit.model.service;


import com.example.lizh.mvp_example.retrofit.model.bean.UserBean;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 用户 Service
 *
 * Created by LiZhiHui on 2016/12/28 15:23
 */
public interface UserService {
    /** 用户登录 */
    @FormUrlEncoded
    @POST("user/login")
    Observable<UserBean> login(@Field("userAccount") String userAccount, @Field("userPassword") String userPassword);
}
